<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <%@ page import='pos.domain.SalesAdminister' %>
    <%@ page import='pos.domain.Sale' %>
    <%@ page import='java.util.List' %>
    <%@ page import='java.util.Iterator' %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>

<%
SalesAdminister sa = SalesAdminister.getInstance();

List<Sale> sales = sa.getSales();
Iterator<Sale> it = sales.iterator();
while (it.hasNext()) {
	out.println(it.next().toString());
}

%>

</body>
</html>